﻿// copyright (c) 2025 author:fio66<fio66@foxmail.com>. All rights reserved.
// date: 2025-10-27 15:26:34

#ifndef _AUDIO_PLAYER_SRC_MANAGER_AUDIO_FILE_MANAGER_H_
#define _AUDIO_PLAYER_SRC_MANAGER_AUDIO_FILE_MANAGER_H_

#include <string_view>
#include <string>
#include <vector>

#include "src/common/global.h"

namespace fio66 {

  class AudioFileManager {
   public:
    AudioFileManager() = default;
    ~AudioFileManager() = default;

    bool DetectAudioFile(std::string_view file_path);
    const std::vector<AudioFileInfo>& GetAudioFileInfoList() const { return audio_file_info_list_; }

    private:
    std::vector<AudioFileInfo> audio_file_info_list_;
  };
}  // namespace fio66

#endif  // _AUDIO_PLAYER_SRC_MANAGER_AUDIO_FILE_MANAGER_H_
